﻿@{
    ViewBag.Title = "Thêm nhóm";
    Layout = "~/Views/Shared/_LayoutPopup.cshtml";
}

@Styles.Render("~/Content/css/Master.css")
<script src="@Url.Content("~/Scripts/Common/script.js")" type="text/javascript"></script>
@Scripts.Render("~/Scripts/Pages/add_group.js")

<div class="masterPage" style="width: 400px; height: 200px;">
    <div class="box_center">
        <span>Tên</span>
        <input type="text" id="groupName" class="text required" maxlength="25" value="@ViewBag.GroupName" />
    </div>
    <div class="box_center">
        <div class="div_action" style="width: 100%">
            <div>
                <input type="button" id="btnSave" class="button width-100" value="Lưu" />
            </div>
            <div>
                <input type="button" id="btnClose" class="button width-100" value="Đóng" />
            </div>
        </div>
    </div>
    <input type="hidden" id="parentGroup" value="@ViewBag.ParentGroup" />
    <input type="hidden" id="mode" value="@ViewBag.Mode" />
    @if (((string)@ViewBag.Mode).Contains("Update"))
    {
        <input type="hidden" id="id" value="@ViewBag.Id" />
    }
</div>
